<?php
namespace api\modules\v1\controllers;

use yii\rest\ActiveController;

class UserController extends BaseController
{
    public $modelClass = 'api\models\User';

    public function actions()
    {
        $actions = parent::actions();
        unset($actions['index']);
        // unset($actions['delete']);
        return $actions;
    }

    public function actionIndex()
    {
        return ['a'=>1];
    }

    public function actionShow()
    {
        return ['a'=>1];
    }
}